import {
	request
} from '@/util/request.js'
/**
 * 微信用户授权登录，携带appid和code参数，调用后端接口获取Openid
 */
export function loginAuth(data) {
	return request({
		url: '/doLogin',
		method: 'get',
		data
	})
}
export function submitUserInfo(data) {
	return request({
		url: '',
		method: 'post',
		data
	}, true)
}
export function getCustomerApi(data) {
	return request({
		url: '/getCustomer',
		method: 'get',
		data
	}, true)
}
